import Vue from 'vue'
import App from './App'
import router from './router'
import '@/assets/styles/index.scss'
import vueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.min.css'
import vueResource from 'vue-resource'
import store from '@/store';
import iview from 'iview';
import 'iview/dist/styles/iview.css';
import fetch from "@/untils/http";
Vue.config.productionTip = false
Vue.use(vueAwesomeSwiper)
Vue.use(vueResource)
Vue.use(iview)
Vue.prototype.$fetch = fetch;
//过滤器
Vue.filter('filterSave',function(value,num){
    return Number(value).toFixed(num)
})
/* eslint-disable no-new */
const vm = new Vue({
  el: '#app',
  router,
  render: h => h(App),
  store
})
